package properties

type Elastic struct {
	Enabled             bool   `yaml:"enabled"`
	Url                 string `yaml:"url"`
	Username            string `yaml:"username"`
	Password            string `yaml:"password"`
	SnifferEnabled      bool   `yaml:"sniffer-enabled"`
	HealthCheckInterval string `yaml:"health-check-interval"`
}

var (
	ElasticPrefix = "elastic"
	ElasticConfig = Elastic{
		Enabled:        true,
		Url:            "http://127.0.0.1:9200",
		SnifferEnabled: false,
	}
)
